#include <stdio.h>
void main()
{
	int sum=0,n=1,sign=1;
	do
	{
		sum=sum+n*n*sign;
		n++;
		sign=sign*(-1);
	} while(n<=15);
	printf("sum=%d\n",sum);
}
